<?php

use Illuminate\Routing\Router;
use Illuminate\Support\Facades\Route;
use Dcat\Admin\Admin;

Admin::routes();

Route::group([
    'prefix'     => config('admin.route.prefix'),
    'namespace'  => config('admin.route.namespace'),
    'middleware' => config('admin.route.middleware'),
], function (Router $router) {

    $router->resource('/', 'RcUserController');
    $router->resource('rc_user','RcUserController');
    $router->resource('user_help','UserHelpController');
    $router->resource('retained','RetainedController');
    $router->get('delete_all','RcUserController@DeleteAll');

});
